From 5c834e269bfff00b92ee63862cbbc7165743de9e Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Wed, 13 May 2026 16:36:35 +0100 Subject: add better-auth --- .../red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js (limited to 'communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js') diff --git a/communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js b/communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js new file mode 100644 index 0000000..2aabedd --- /dev/null +++ b/communities/red-right-hand/174bg.net/src/app/api/auth/[...all]/route.js @@ -0,0 +1,4 @@ +import { auth } from "@/auth"; +import { toNextJsHandler } from "better-auth/next-js"; + +export const { POST, GET } = toNextJsHandler(auth); -- cgit v1.2.3